#ifndef SIMULATOR_H
#define SIMULATOR_H

#include <SDL/SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <iostream>
#include <fstream>
#include <cstring>
#include "octree_grid.h"
#include "EventHandler.h"


class Simulator{
 public:
  Simulator();
 private:
  int onExecute();
  bool onInit();
  void onLoop();
  void onRender();
  void onCleanup();

  //Temporary
  void ParseVRML();
  void ParseText();

  SDL_Surface* m_surfDisplay;
  double m_camX;
  double m_camY;
  double m_camZ;
  double m_camAz;
  double m_camEl;

  ravec::OctreeGrid<int> m_grid;

};
#endif
